-#
-# Popular articles 
-#

.module
  #popular_articles
    %h1 Popular Articles
    - for post in Post.find(:all, :limit => 10, :order => "views DESC", :conditions => ["published = true and published_at < ?", Time.now])
      = link_to post.title, post
      %br
